package com.wtwd.campus.service;

import com.alibaba.fastjson.JSONObject;
import com.wtwd.campus.common.RespEntity;
import com.wtwd.campus.service.impl.RMFeignClientNettyServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "NettyService",fallback = RMFeignClientNettyServiceImpl.class)
public interface IRMFeignClientNettyService {

    @PostMapping("/sendBindingStatus")
    public RespEntity sendBindingStatus(@RequestBody JSONObject jsonObject);

}
